package com.school.service.impl;

import com.school.entity.Student;
import com.school.mapper.StuMapper;
import com.school.service.StuService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class StuServiceImpl implements StuService {
    @Resource
    StuMapper stuMapper;
    @Override
    public Student findByName(String tname) {
        return stuMapper.findByName(tname);
    }
}
